﻿namespace Repositories.RM;

/// <summary>
/// 账号请求模型
/// </summary>
public class AccountsRM
{
    /// <summary>
    /// 用户id
    /// </summary>
    public int UserId { get; set; }
    /// <summary>
    /// 用户名
    /// </summary>
    public string Account { get; set; }
    /// <summary>
    /// 用户名
    /// </summary>
    public string Name { get; set; }
    /// <summary>
    /// 是否管理员
    /// </summary>
    public bool IsAdmin { get; set; }
    /// <summary>
    /// Hub连接Id
    /// </summary>
    public string ConnectionId { get; set; }
    /// <summary>
    /// 类型 0-其他 1-教职工 2-学生
    /// </summary>
    public int Type { get; set; }
    /// <summary>
    /// 性别 0 未知 1 男 2 女
    /// </summary>
    public int Gender { get; set; }
    /// <summary>
    /// 组织/班级名称
    /// </summary>
    public string OrgName { get; set; }
    /// <summary>
    /// 组织/班级编号
    /// </summary>
    public string OrgCode { get; set; }
    /// <summary>
    /// 电话
    /// </summary>
    public string? Telephone { get; set; }
    /// <summary>
    /// 邮箱
    /// </summary>
    public string? Email { get; set; }
    /// <summary>
    /// 头像
    /// </summary>
    public string? Avatar { get; set; }
}
